package com.blb.community.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.community.entity.ZyComplaintSuggest;
import com.blb.community.entity.vo.SuggestVO;
import com.blb.community.mapper.ZyComplaintSuggestMapper;
import com.blb.community.service.IZyComplaintSuggestService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 投诉建议  服务实现类
 * </p>
 *
 * @author 帅帅
 * @since 2022-07-02
 */
@Service
public class ZyComplaintSuggestServiceImpl extends ServiceImpl<ZyComplaintSuggestMapper, ZyComplaintSuggest> implements IZyComplaintSuggestService {

    @Autowired
    private ZyComplaintSuggestMapper zyComplaintSuggestMapper;

    @Override
    public IPage<SuggestVO> getPageList(SuggestVO suggestVO,IPage<SuggestVO> page) {
        IPage<SuggestVO> pageList = zyComplaintSuggestMapper.getPageList(suggestVO, page);
        return pageList;
    }
}
